.class public Lcom/brixd/niceapp/activity/AppAlbumActivity;
.super Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;
.source "AppAlbumActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;
    }
.end annotation


# static fields
.field public static final ALBUM_HOLDER_MODEL:Ljava/lang/String; = "album_holder_model"


# instance fields
.field private mAlbumAppAdapter:Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

.field private mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

.field private mBackBtn:Landroid/widget/ImageButton;

.field private mClickReloadBtn:Landroid/view/View;

.field private mCoverOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field private mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

.field private mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field private mLoadingProgressDrawable:Landroid/graphics/drawable/AnimationDrawable;

.field private mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field private mProgressImageView:Landroid/widget/ImageView;

.field private mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 43
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;-><init>()V

    .line 218
    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/activity/AppAlbumActivity;)Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/AppAlbumActivity;

    .prologue
    .line 43
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    return-object v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/activity/AppAlbumActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/AppAlbumActivity;

    .prologue
    .line 43
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->startLoading()V

    return-void
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/activity/AppAlbumActivity;Z)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/AppAlbumActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 43
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->hideLoading(Z)V

    return-void
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/activity/AppAlbumActivity;)Lcom/brixd/niceapp/model/AlbumHolderModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/AppAlbumActivity;

    .prologue
    .line 43
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    return-object v0
.end method

.method static synthetic access$302(Lcom/brixd/niceapp/activity/AppAlbumActivity;Lcom/brixd/niceapp/model/AlbumHolderModel;)Lcom/brixd/niceapp/model/AlbumHolderModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/AppAlbumActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/AlbumHolderModel;

    .prologue
    .line 43
    iput-object p1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    return-object p1
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/activity/AppAlbumActivity;)Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/AppAlbumActivity;

    .prologue
    .line 43
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumAppAdapter:Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

    return-object v0
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/activity/AppAlbumActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/AppAlbumActivity;

    .prologue
    .line 43
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->expandAllGroup()V

    return-void
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/activity/AppAlbumActivity;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/AppAlbumActivity;

    .prologue
    .line 43
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    return-object v0
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/activity/AppAlbumActivity;)Lcom/nostra13/universalimageloader/core/ImageLoader;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/AppAlbumActivity;

    .prologue
    .line 43
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    return-object v0
.end method

.method private expandAllGroup()V
    .registers 3

    .prologue
    .line 144
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumAppAdapter:Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

    if-nez v1, :cond_5

    .line 150
    :cond_4
    return-void

    .line 147
    :cond_5
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_6
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumAppAdapter:Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;->getGroupCount()I

    move-result v1

    if-ge v0, v1, :cond_4

    .line 148
    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v1, v0}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->expandGroup(I)Z

    .line 147
    add-int/lit8 v0, v0, 0x1

    goto :goto_6
.end method

.method private fetchAlbumApps()V
    .registers 4

    .prologue
    .line 200
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    iget v1, v1, Lcom/brixd/niceapp/model/AlbumHolderModel;->albumId:I

    new-instance v2, Lcom/brixd/niceapp/activity/AppAlbumActivity$5;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity$5;-><init>(Lcom/brixd/niceapp/activity/AppAlbumActivity;)V

    invoke-interface {v0, v1, v2}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->listAlbumApps(ILretrofit/Callback;)V

    .line 216
    return-void
.end method

.method private getCommonOptionsBuilder()Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;
    .registers 3

    .prologue
    const/4 v1, 0x1

    .line 94
    new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisc(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    .line 95
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    new-instance v1, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;

    invoke-direct {v1}, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->displayer(Lcom/nostra13/universalimageloader/core/display/BitmapDisplayer;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    return-object v0
.end method

.method private hideLoading(Z)V
    .registers 4
    .param p1, "isSuccess"    # Z

    .prologue
    const/16 v1, 0x8

    .line 190
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mLoadingProgressDrawable:Landroid/graphics/drawable/AnimationDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/AnimationDrawable;->stop()V

    .line 191
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mProgressImageView:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 192
    if-eqz p1, :cond_14

    .line 193
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mClickReloadBtn:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 197
    :goto_13
    return-void

    .line 195
    :cond_14
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mClickReloadBtn:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_13
.end method

.method private initData()V
    .registers 5

    .prologue
    const v3, 0x7f0202d5

    const v2, 0x7f0201c5

    .line 74
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "album_holder_model"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/AlbumHolderModel;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    .line 76
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->getCommonOptionsBuilder()Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 77
    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 78
    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 79
    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 80
    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 82
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->getCommonOptionsBuilder()Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 83
    invoke-virtual {v0, v3}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 84
    invoke-virtual {v0, v3}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 85
    invoke-virtual {v0, v3}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 86
    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mCoverOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 88
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 90
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->getActivity()Landroid/app/Activity;

    move-result-object v0

    invoke-static {v0}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v0

    const-class v1, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {v0, v1}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    .line 91
    return-void
.end method

.method private initPostCreate()V
    .registers 1

    .prologue
    .line 178
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->startLoading()V

    .line 179
    return-void
.end method

.method private initWidgetActions()V
    .registers 3

    .prologue
    .line 153
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mBackBtn:Landroid/widget/ImageButton;

    new-instance v1, Lcom/brixd/niceapp/activity/AppAlbumActivity$2;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity$2;-><init>(Lcom/brixd/niceapp/activity/AppAlbumActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 160
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    new-instance v1, Lcom/brixd/niceapp/activity/AppAlbumActivity$3;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity$3;-><init>(Lcom/brixd/niceapp/activity/AppAlbumActivity;)V

    invoke-virtual {v0, v1}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setOnGroupClickListener(Landroid/widget/ExpandableListView$OnGroupClickListener;)V

    .line 169
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mClickReloadBtn:Landroid/view/View;

    new-instance v1, Lcom/brixd/niceapp/activity/AppAlbumActivity$4;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity$4;-><init>(Lcom/brixd/niceapp/activity/AppAlbumActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 175
    return-void
.end method

.method private initWidgets()V
    .registers 12

    .prologue
    const/4 v6, 0x0

    const/4 v10, 0x0

    .line 99
    const v5, 0x7f030005

    invoke-virtual {p0, v5}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->setContentView(I)V

    .line 101
    const v5, 0x7f0a002d

    invoke-virtual {p0, v5}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/ImageButton;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mBackBtn:Landroid/widget/ImageButton;

    .line 102
    const v5, 0x7f0a0040

    invoke-virtual {p0, v5}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    .line 103
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v5, v10}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setGroupIndicator(Landroid/graphics/drawable/Drawable;)V

    .line 104
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v5, v6}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setHeaderDividersEnabled(Z)V

    .line 105
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v5, v10}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    .line 106
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v5, v6}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setDividerHeight(I)V

    .line 107
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v5}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getHeaderView()Landroid/widget/ImageView;

    move-result-object v5

    sget-object v6, Landroid/widget/ImageView$ScaleType;->CENTER_INSIDE:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    .line 108
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v6, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    iget-object v6, v6, Lcom/brixd/niceapp/model/AlbumHolderModel;->albumImageUrl:Ljava/lang/String;

    iget-object v7, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v7}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->getHeaderView()Landroid/widget/ImageView;

    move-result-object v7

    iget-object v8, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mCoverOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    new-instance v9, Lcom/brixd/niceapp/activity/AppAlbumActivity$1;

    invoke-direct {v9, p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity$1;-><init>(Lcom/brixd/niceapp/activity/AppAlbumActivity;)V

    invoke-virtual {v5, v6, v7, v8, v9}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;Lcom/nostra13/universalimageloader/core/listener/ImageLoadingListener;)V

    .line 118
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->getContext()Landroid/content/Context;

    move-result-object v5

    const v6, 0x7f030007

    invoke-static {v5, v6, v10}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 119
    .local v2, "infoHeaderView":Landroid/view/View;
    const v5, 0x7f0a0046

    invoke-virtual {v2, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 120
    .local v4, "titleTextView":Landroid/widget/TextView;
    const v5, 0x7f0a0047

    invoke-virtual {v2, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 122
    .local v1, "digestTextView":Landroid/widget/TextView;
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    iget-object v5, v5, Lcom/brixd/niceapp/model/AlbumHolderModel;->albumTitle:Ljava/lang/String;

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 123
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    iget-object v5, v5, Lcom/brixd/niceapp/model/AlbumHolderModel;->albumDescription:Ljava/lang/String;

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 125
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    iget-object v5, v5, Lcom/brixd/niceapp/model/AlbumHolderModel;->textBgColor:Ljava/lang/String;

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_e2

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f08002a

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    .line 126
    .local v0, "color":I
    :goto_93
    const v5, 0x7f0a0045

    invoke-virtual {v2, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5, v0}, Landroid/view/View;->setBackgroundColor(I)V

    .line 127
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v5, v2}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->addHeaderView(Landroid/view/View;)V

    .line 131
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->getContext()Landroid/content/Context;

    move-result-object v5

    const v6, 0x7f030011

    invoke-static {v5, v6, v10}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 132
    .local v3, "loadingHeader":Landroid/view/View;
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    invoke-virtual {v5, v3}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->addHeaderView(Landroid/view/View;)V

    .line 133
    const v5, 0x7f0a006c

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    iput-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mClickReloadBtn:Landroid/view/View;

    .line 134
    const v5, 0x7f0a006b

    invoke-virtual {v3, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/ImageView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mProgressImageView:Landroid/widget/ImageView;

    .line 135
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mProgressImageView:Landroid/widget/ImageView;

    invoke-virtual {v5}, Landroid/widget/ImageView;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v5

    check-cast v5, Landroid/graphics/drawable/AnimationDrawable;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mLoadingProgressDrawable:Landroid/graphics/drawable/AnimationDrawable;

    .line 138
    new-instance v5, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

    invoke-direct {v5, p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;-><init>(Lcom/brixd/niceapp/activity/AppAlbumActivity;)V

    iput-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumAppAdapter:Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

    .line 139
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mExpandableListView:Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;

    iget-object v6, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumAppAdapter:Lcom/brixd/niceapp/activity/AppAlbumActivity$AlbumAppAdapter;

    invoke-virtual {v5, v6}, Lcom/zuiapps/suite/utils/ui/PullToZoomExpandableListView;->setAdapter(Landroid/widget/ExpandableListAdapter;)V

    .line 140
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->expandAllGroup()V

    .line 141
    return-void

    .line 125
    .end local v0    # "color":I
    .end local v3    # "loadingHeader":Landroid/view/View;
    :cond_e2
    iget-object v5, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mAlbumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    iget-object v5, v5, Lcom/brixd/niceapp/model/AlbumHolderModel;->textBgColor:Ljava/lang/String;

    invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    goto :goto_93
.end method

.method private startLoading()V
    .registers 3

    .prologue
    .line 182
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mLoadingProgressDrawable:Landroid/graphics/drawable/AnimationDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/AnimationDrawable;->start()V

    .line 183
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mProgressImageView:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 184
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppAlbumActivity;->mClickReloadBtn:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 186
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->fetchAlbumApps()V

    .line 187
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .registers 2
    .param p1, "bundle"    # Landroid/os/Bundle;

    .prologue
    .line 65
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 67
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->initData()V

    .line 68
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->initWidgets()V

    .line 69
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->initWidgetActions()V

    .line 70
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AppAlbumActivity;->initPostCreate()V

    .line 71
    return-void
.end method
